package com.shield.framework.config;

/**
 * @description:
 * @Author Andy
 */
public interface ShieldConstant{

     /**
      * 外部化配置前缀
      */
     String PROP_PREFIX="shield.security";

     /**
      * 令牌自定义标识
      */
     String HEADER = "Authorization";

     /**
      * 令牌前缀
      */
     String TOKEN_PREFIX = "Bearer ";

     /**
      * redis token 存储前缀
      */
     String REDIS_STORE_PREFIX = "shield:tokens:";
     ;


     interface TokenType{
          String JWT = "jwt";
          String UUID = "uuid";
     }

     interface StoreType{
          String REDIS = "redis";
          String DB = "db";
     }

}
